body {
  font-family: Arial, sans-serif;
}
header {
  padding-left: 5%;
}
header .logo {
  height: 75px;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
header .logo a {
  display: block;
  height: 90%;
}
header .logo img {
  height: 100%;
}
.main {
  width: 100%;
  height: 80vh;
  background: url(../images/banner6.png) no-repeat;
  background-size: cover;
}
.main-cont {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}
.box {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-66%);
  width: 400px;
  height: 450px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 0px 5px #bdbdbd;
}
.box .login-tit {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  padding: 2vw 3vw;
}
.login-tit a {
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 3px;
  color: rgb(131, 131, 131);
}

.login-tit .active {
  color: #000;
  border-bottom: 3px solid #c02929;
}

form {
  display: block;
  width: 80%;
  margin: 0 auto;
  /* padding: 0 10%; */
}

form label {
  position: relative;
  display: block;
  margin-bottom: 5px;
}
form p {
  height: 20px;
  margin: 5px 0;
  padding-left: 5px;
}
form p span {
  display: block;
  font-size: 14px;
  color: red;
}

label[for='username']::before,
label[for='password']::before,
label[for='email']::before {
  font-family: 'iconfont';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
label[for='username']::before {
  content: '\e645';
}
label[for='password']::before {
  content: '\e60c';
}

label[for='email']::before {
  content: '\e604';
}

input[name='username'],
input[name='password'],
input[name='email'] {
  width: 100%;
  padding: 10px 0;
  display: block;
  /* line-height: 35px; */
  border: none;
  box-shadow: 0px 0px 3px #979797;
  padding-left: 33px;
}

input[placeholder] {
  font-size: 14px;
  color: #666;
}

input[type='button'] {
  width: 100%;
  padding: 10px;
  border: none;
  background: #b92f2f;
  color: #f5f5f5;
  cursor: pointer;
}
input[type='button']:hover {
  background: #c02929;
}

footer {
  background: none;
  color: #333;
}

/* 移动端样式 */
@media screen and (max-width: 767px) {
  header .logo {
    height: 50px;
  }
  .box {
    width: 80vw;
    height: 50vh;
    min-height: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .box .login-tit {
    padding: 7vw 7vw 5vw;
  }
  form p {
    height: 17px;
  }
  form p span {
    font-size: 8rem;
  }
  .login-tit a {
    font-size: 14rem;
  }
}

/* 平板端样式 */
@media screen and (min-width: 768px) and (max-width: 992px) {
  /* 在此处编写平板端样式 */
  .box {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .box .login-tit {
    padding: 7vw 7vw 5vw;
  }
}

/* 桌面端样式 */
@media screen and (min-width: 992px) {
  /* 在此处编写桌面端样式 */
}
